import { createApp } from 'vue'
// import './style.css'
import router from './router/index'
// antd 的配置
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
// import dataV from '@jiaminghi/data-view'
import DataV, { setClassNamePrefix } from '@dataview/datav-vue3';


// 配置pinia
import { createPinia } from 'pinia';
import DataVVue3 from '@kjgl77/datav-vue3'
import App from './App.vue'
let pinia=createPinia()
pinia.use(piniaPluginPersistedstate) //让pinia使用持久化插件

let app=createApp(App)
app.use(Antd)
app.use(pinia)

app.use(DataVVue3)
app.use(router)
app.mount('#app')
